//
// Decompiled by Jadx - 355ms
//
package gc;

import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import de.aa;
import fn.y;
import gc.aw;
import gf.af;
import gj.k;
import java.util.Map;
import me.plusne.common.Json.Soul.JsonHomePagePostList;
import r.f;

public final class al implements Runnable {
    public final int a;
    public final Object b;

    public al(int i, Object obj) {
        this.a = i;
        this.b = obj;
    }

    @Override
    public final void run() {
        int i = this.a;
        Object obj = this.b;
        switch (i) {
            case 0:
                ap.dk((Map) obj);
                return;
            case 1:
                JsonHomePagePostList.DataDTO.PostListDTO postListDTO = (JsonHomePagePostList.DataDTO.PostListDTO) obj;
                int i2 = aw.e.a;
                new ci(y.by.getActivity(), postListDTO.getLatitude().doubleValue(), postListDTO.getLongitude().doubleValue());
                return;
            case 2:
                View view = (View) obj;
                int i3 = af.b.a;
                ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
                layoutParams.height = 0;
                layoutParams.width = 0;
                view.setLayoutParams(layoutParams);
                view.setVisibility(View.GONE);
                view.invalidate();
                view.requestLayout();
                return;
            case 3:
                k.h((k) obj);
                return;
            default:
                try {
                    aa.ao((Activity) obj);
                    return;
                } catch (Exception e) {
                    e.printStackTrace();
                    f i4 = f.i();
                    i4.j();
                    i4.l(e.getMessage());
                    return;
                }
        }
    }
}
